<div class="load-trend-container" fxFlexFill fxLayout="column">
  <header>
    <app-farm-selector [farmId]="farmId" (currentFarmChange)="onChangeFarm($event)" [farmCategory]=2>
    </app-farm-selector>
  </header>
  <div class="scrollbar" id="style">
    <div class="force-overflow">
      <div class="main">
        <!--光伏电厂曲线-->
        <div class="photovoltaic-trend-list">
          <!-- 功率 -->
          <div>
            <app-photovoltaic-echarts [seriesName1]="'今日功率'" [seriesName2]="'昨日功率'" [currentFarm]="currentFarm"
                                      [currData]="currentFarm.powerBinging" [data]="currentFarm.power" [historyDates]="currentFarm.powers" [title]="'当前功率'"
                                      [yesterdayDatas]="currentFarm.yesterdayPowers">
            </app-photovoltaic-echarts>
          </div>

          <!-- 降水 -->
          <div>
            <app-photovoltaic-echarts [seriesName1]="'今日降水'" [seriesName2]="'昨日降水'" [currentFarm]="currentFarm"
                                      [currData]="currentFarm.precipitationBinging" [data]="currentFarm.pressure" [title]="'当前降水'"
                                      [historyDates]="currentFarm.pressures" [yesterdayDatas]="currentFarm.yesterdayPrecipitations">
            </app-photovoltaic-echarts>
          </div>
          <!-- 温度 -->
          <div>
            <app-photovoltaic-echarts [seriesName1]="'今日温度'" [seriesName2]="'昨日温度'" [currentFarm]="currentFarm"
                                      [currData]="currentFarm.temperatureBinging" [data]="currentFarm.temperature" [title]="'当前温度'"
                                      [historyDates]="currentFarm.temperatures" [yesterdayDatas]="currentFarm.yesterdayTemperatures">
            </app-photovoltaic-echarts>
          </div>
          <!-- 辐射 -->
          <div>
            <app-photovoltaic-echarts [seriesName1]="'今日辐射'" [seriesName2]="'昨日辐射'" [currentFarm]="currentFarm"
                                      [currData]="currentFarm.radiationBinging" [data]="currentFarm.radiation" [title]="'当前辐射'"
                                      [historyDates]="currentFarm.radiations" [yesterdayDatas]="currentFarm.yesterdayRadiations">
            </app-photovoltaic-echarts>
          </div>
          <!-- 气压 -->
          <div>
            <app-photovoltaic-echarts [seriesName1]="'今日气压'" [seriesName2]="'昨日气压'" [currentFarm]="currentFarm"
                                      [currData]="currentFarm.pressureBinging" [data]="currentFarm.pressure" [title]="'当前气压'"
                                      [historyDates]="currentFarm.pressures" [yesterdayDatas]="currentFarm.yesterdayPressures">
            </app-photovoltaic-echarts>
          </div>

        </div>

      </div>


    </div>
  </div>

</div>
<div class="bg"></div>
